#用户名密码验证-1
name = 'tiger'
password = 'bytedance'

count = 3
while count:
    my_name = input("pls input your name: ")
    my_pass = input("pls input your password: ")
    if my_name == name and my_pass == password:
        print("Well back home, tiger !")
        break
    elif my_name != name or my_pass != password:
        print("your name or pass is wrong,pls try again.")
        count -= 1
        continue
else:
    print("Login failed more than 3 times, your ID has been locked !")
    
